import { createRouter,createWebHistory } from "vue-router";
let router=createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'',
      redirect:'/add'
    },
    {
      path:'/add',
      component:()=>import("../views/Add.vue")
    },
    {
      path:'/show',
      component:()=>import("../views/Show.vue")
    },
    {
      path:'/Dadd',
      component:()=>import("../views/Dadd.vue")
    }
  ]
})
export default router